package cn.zebra.dev.sms.config.huaxin;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;

/**
 * 华信短信配置
 *
 * @author runnable@sina.cn
 */
@Configuration
@ConfigurationProperties(prefix = SysSmsHuaXinConfigureBean.PREFIX)
public class SysSmsHuaXinConfigureBean implements Ordered {
    static final String PREFIX = "zebra.sms.hua-xin";

    private String driverName;

    private String gateway;

    private String userName;

    private String password;

    private String sign;

    private String internationalGateway;

    private String internationalUsername;

    private String internationalPassword;

    private String accessKey;

    private String accessSecret;

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getGateway() {
        return gateway;
    }

    public void setGateway(String gateway) {
        this.gateway = gateway;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getInternationalGateway() {
        return internationalGateway;
    }

    public void setInternationalGateway(String internationalGateway) {
        this.internationalGateway = internationalGateway;
    }

    public String getInternationalUsername() {
        return internationalUsername;
    }

    public void setInternationalUsername(String internationalUsername) {
        this.internationalUsername = internationalUsername;
    }

    public String getInternationalPassword() {
        return internationalPassword;
    }

    public void setInternationalPassword(String internationalPassword) {
        this.internationalPassword = internationalPassword;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getAccessSecret() {
        return accessSecret;
    }

    public void setAccessSecret(String accessSecret) {
        this.accessSecret = accessSecret;
    }

    @Override
    public int getOrder() {
        return -1;
    }
}
